package cloud.authentication.server.authentication.provider;

import java.util.HashSet;
import java.util.Set;

import cloud.authentication.server.po.Resource;

import com.clj.cloud.common.core.entity.vo.Result;

public class ResourceProviderFallback implements ResourceProvider {

	@SuppressWarnings("unchecked")
	@Override
	public Result<Set<Resource>> resources() {
		return Result.success(new HashSet<Resource>());
	}

	@SuppressWarnings("unchecked")
	@Override
	public Result<Set<Resource>> resources(String username) {
		return Result.success(new HashSet<Resource>());
	}

}
